package com.qm.console.dao.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ActivityDO {
    private Integer id;

    private Integer accountId;

    private String appChannel;

    private String appName;

    private String appVersion;

    private String deviceId;

    private String clientIp;

    private String logSeq;

    private Integer gender;

    private Integer drawType;

    private Integer currentPool;

    private Integer injectPool;

    private Integer awardDiamond;

    private Integer costNum;

    private Integer costType;

    private Integer totalUser;

    private Integer totalUserLuck;

    private Date targetDate;

    private List<String> channels;

    private String target;

    private String pool;

    private Integer count;

    private String abTest;

    private String bundleId;

    private String startTime;
    private String endTime;
    private Integer offset = 0;
    private Integer limit = 10;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel == null ? null : appChannel.trim();
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName == null ? null : appName.trim();
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion == null ? null : appVersion.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp == null ? null : clientIp.trim();
    }

    public String getLogSeq() {
        return logSeq;
    }

    public void setLogSeq(String logSeq) {
        this.logSeq = logSeq == null ? null : logSeq.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getDrawType() {
        return drawType;
    }

    public void setDrawType(Integer drawType) {
        this.drawType = drawType;
    }

    public Integer getCurrentPool() {
        return currentPool;
    }

    public void setCurrentPool(Integer currentPool) {
        this.currentPool = currentPool;
    }

    public Integer getInjectPool() {
        return injectPool;
    }

    public void setInjectPool(Integer injectPool) {
        this.injectPool = injectPool;
    }

    public Integer getAwardDiamond() {
        return awardDiamond;
    }

    public void setAwardDiamond(Integer awardDiamond) {
        this.awardDiamond = awardDiamond;
    }

    public Integer getCostNum() {
        return costNum;
    }

    public void setCostNum(Integer costNum) {
        this.costNum = costNum;
    }

    public Integer getCostType() {
        return costType;
    }

    public void setCostType(Integer costType) {
        this.costType = costType;
    }

    public Date getTargetDate() {
        return targetDate;
    }

    public void setTargetDate(Date targetDate) {
        this.targetDate = targetDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", accountId=").append(accountId);
        sb.append(", appChannel=").append(appChannel);
        sb.append(", appName=").append(appName);
        sb.append(", appVersion=").append(appVersion);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", clientIp=").append(clientIp);
        sb.append(", logSeq=").append(logSeq);
        sb.append(", gender=").append(gender);
        sb.append(", drawType=").append(drawType);
        sb.append(", currentPool=").append(currentPool);
        sb.append(", injectPool=").append(injectPool);
        sb.append(", awardDiamond=").append(awardDiamond);
        sb.append(", costNum=").append(costNum);
        sb.append(", costType=").append(costType);
        sb.append(", totalUser=").append(totalUser);
        sb.append(", targetDate=").append(targetDate);
        sb.append(", channels=").append(channels);
        sb.append("]");
        return sb.toString();
    }
}
